package com.haircut.project.model.finance;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.haircut.sys.model.BaseIDAllDate;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
@TableName("t_finance_dept")
public class FinanceDept  extends BaseIDAllDate {
    /**
     * 部门id
     */
    @TableField("dept_id")
    private String deptId;

    /**
     * 批次id
     */
    @TableField("batch_id")
    private String batchId;
    /**
     * 工资编号
     */
    @TableField("salary_no")
    private String salaryNo;
    /**
     * 工资类型(1、待发 2、已发)
     */
    @TableField("salary_type")
    private Integer salaryType;
    /**
     * 总金额
     */
    @TableField("total_amount")
    private BigDecimal totalAmount;


    /**
     * 提交对账备注
     */
    @TableField("submit_remark")
    private String submitRemark;
    /**
     * 提交财务类型(1、现金 2、刷卡)
     */
    @TableField("submit_finance_type")
    private Integer submitFinanceType;

    /**
     * 本级现金金额
     */
    @TableField("curr_cash_amount")
    private BigDecimal currCashAmount;
    /**
     * 本级电子金金额
     */
    @TableField("curr_card_amount")
    private BigDecimal currCardAmount;
    /**
     * 上级现金金额
     */
    @TableField("parent_cash_amount")
    private BigDecimal parentCashAmount;
    /**
     * 上级电子金金额
     */
    @TableField("parent_card_amount")
    private BigDecimal parentCardAmount;
    /**
     * 提交时间
     */
    @TableField("submit_date")
    private Date submitDate;

    /**
     * 公司总现金金额
     */
    @TableField("company_cash_amount")
    private BigDecimal companyCashAmount;
    /**
     * 公司总刷卡金额
     */
    @TableField("company_card_amount")
    private BigDecimal companyCardAmount;
}
